﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Class="BlobTransferUtility.SelectItemDialog"
        Title="SelectItemDialog" Height="300" Width="300" WindowStartupLocation="CenterOwner" x:Name="window">
    <Grid Background="Black">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="1*"/>
    		<RowDefinition Height="Auto"/>
    	</Grid.RowDefinitions>
        <ListBox DisplayMemberPath="{Binding DisplayMemberPath, ElementName=window}" ItemsSource="{Binding Items, ElementName=window}" SelectedItem="{Binding SelectedItem, ElementName=window, Mode=TwoWay}"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
            <Button Content="Cancel" Click="CancelButtonClick" />
            <Button Content="Select" Click="SelectButtonClick" />
        </StackPanel>
    </Grid>
</Window>
